package cn.jianyongjie.user.service;

import cn.jianyongjie.basic.dto.VerificationCode;
import cn.jianyongjie.user.domain.User;
import cn.jianyongjie.basic.service.IBaseService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jianyongjie
 * @since 2022-05-08
 */
public interface IUserService extends IBaseService<User> {

    /*
    * @Title: IUserService
    * @Description: 手机注册
    * @Author: JianYongJie
    * @Version: 1.0
    * @Date:  2022/5/9 16:11
    * @Parameters: * @param code
    * @Return void
    */
    void phoneRegister(VerificationCode code);

    /*
    * @Title: IUserService
    * @Description: 邮箱注册
    * @Author: JianYongJie
    * @Version: 1.0
    * @Date:  2022/5/9 20:04
    * @Parameters: * @param mailbox
    * @Return void
    */
    void mailboxRegister(VerificationCode mailbox);
}
